<template>
	<view>
		<fui-gallery :urls="urlGallery" :show="showGallery" @hide="hideGallery"></fui-gallery>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				urlGallery:[],
				showGallery:false,
			};
		},
		onLoad(options) {
			console.log(options,'-----------123123')
			this.urlGallery = JSON.parse(options.preveImage) 
			this.showGallery = true;
		},
		methods:{
			hideGallery(){
				this.showGallery = false;
				this.urlGallery = [];
				uni.navigateBack()
			},
		}
	}
</script>

<style lang="scss">

</style>
